$(function(){
    setInterval(function time(){
            var today=new Date();
            var year=today.getFullYear();
            var mon=today.getMonth()+1;
            var day=today.getDate();
            var h=today.getHours();
            var m=today.getMinutes();
            var s=today.getSeconds();
            m=checkTime(m);
            s=checkTime(s);
            function checkTime(i)
            {
                if(i<10)
                {
                    i="0"+i}
                return i}
            $("span#time1").text(year+"-"+mon+"-"+day);
            $("span#time2").html(daystr+'<br/>'+h+":"+m+":"+s);
        },
        1000);
})

var $main=null;
var $cloud=null;
var $cloud1=null;
var mainwidth=null;
var $body=null;
var offset1=450;
var offset2=0;
var offsetbg=0;
var bleft= -10;
var btop = -30;
var weatherdata = {}
$main=$("#mainBody");
$body=$("body");
$cloud1=$("#cloud1");
$cloud2=$("#cloud2");
var butter = $('#butterfly');
var msg='aa';
var daystr = ''
var gljrmap = new Map;
var nljrmap = new Map;
            let winmap = new Map;
mainwidth=$main.outerWidth();
var body=document.getElementsByTagName('body')[0]
$(document).ready(function(){
    document.addEventListener('keydown',function(e){
        if(e.keyCode==13){
            baidu();
        }
        else if(e.keyCode==27){
            exitFullScreen(body);
        }
    });
    getadderss()

});
//蝴蝶
setInterval(
    function flutter(){
        if(offset1>=mainwidth){
            offset1=-580;
        }
        if(offset2>=mainwidth){
            offset2=-580;
        }
        offset1+=1.1;
        offset2+=1;
        $cloud1.css("background-position",offset1+"px 30px");
        $cloud2.css("background-position",offset2+"px 340px");
    },
    1000);
setInterval(function bg(){
        if(offsetbg>=mainwidth){
            offsetbg=-580;
        }
        offsetbg+=0.6;
        $body.css("background-position",-offsetbg+"px 0")},
    90);

$(function(){
		getjr()
    
});
function baidu(){
    var input=document.getElementById("text");
    if(input.value!=''){
        var url="http://www.baidu.com/s?wd="+input.value;
        window.open(url);
    }
}
function getadderss(){
    $.getJSON("https://mesh.if.iqiyi.com/aid/ip/info?version=1.1.1&src=Cashier", function(data) {
        let result = data.data
        $('#address').html(result.continentCN+'-'+result.countryCN+'-<br/>'+result.zoneCN+'-'+
            result.provinceCN+'-<br/>'+result.cityCN+'-'+result.countyCN+'-<br/>'+result.longitude+','+result.latitude);
       			 getjr()
       			 weather('11')    
    });

}
function handleCallback(res) {
    alert(JSON.stringify(res));
}
function getjr(){
	let _url = 'https://pc.suishenyun.net/peacock/api/h5/festival'
	$.ajax({
        type:"GET",url:_url,dataType:"json",success:function(data){
        		data.festivals.pub.forEach(function(v,i){
        			let mm = v.m
        			let dd = v.d
        			if(v.gl==0){
        					nljrmap.set(mm+'-'+dd,v.n+':'+v.desc)
        				}else{
        					gljrmap.set(mm+'-'+dd,v.n+':'+v.desc)
        					}
        		})
        		data.festivals.cn.forEach(function(v,i){
        			let mm = v.m
        			let dd = v.d
        			if(v.gl==0){
        					nljrmap.set(mm+'-'+dd,v.n+':'+v.desc)
        				}else{
        					gljrmap.set(mm+'-'+dd,v.n+':'+v.desc)
        					}
        		})
        		var lunar=calendar.solar2lunar();
					 		let nkey = lunar.lMonth+'-'+lunar.lDay
					 		let gkey = lunar.cMonth+'-'+lunar.cDay
					 		let jrstr = (gljrmap.get(gkey)==undefined?'':gljrmap.get(gkey).replace(':','--'))+'<br/>'+
					 		 (nljrmap.get(nkey)==undefined?'':nljrmap.get(nkey).replace(':','--'))
					 		 jrstr = (jrstr=='<br/>'?'('+lunar.lunarFestival+')':'('+jrstr+')').replace('(null)','');
					 		 
					    daystr = lunar.cYear+'年'+lunar.cMonth+'月'+lunar.cDay+'日('+lunar.ncWeek+')   ' ;
					    msg=' '+lunar.astro+';         '+lunar.lYear+'   '+
					        lunar.IMonthCn+lunar.IDayCn+'    '+lunar.Animal+'      ;'+lunar.gzYear+'   '+lunar.gzMonth+'   '+lunar.gzDay 
					    $('#pDate').html(msg);
 
					    jump();
					    $('#dplayer').html('<h2 style="text-align:left">'+lunar.ncWeek+'&nbsp;&nbsp;&nbsp;&nbsp;'+jrstr.replace('<br/>','')+'</h2>');
					    $('#today').click(function(){
					        weather(101160101)
					    });
        }
        })
	}

function weather(id){
    $('#weather').html('               ')
    let _url='https://mesh.if.iqiyi.com/portal/pcw/weather/data?version=1.0.0.1';
    let res=req(_url,'aider.meizu.com')
    $.ajax({
        type:"GET",url:_url,dataType:"json",success:function(data){
            let col='red';
            let wstr='<marquee behavior="scroll" hspace=20 vspace=10  scrollamount="5" style="height:185px" '+
                '  loop="-1" direction="up" scrollamount=1 scrolldelay=10 align=left '+
                ' onMouseOver="this.stop()" onMouseOut="this.start()"><ul class="wu">';
            let alertstr=''
            let livestr = '';
            weatherdata = data.data.weather.data.daily.temperature
            let map = new Map;
            let winmap = new Map;
            let tempmap = new Map;
            let riskmap = new Map;
            let dressmap = new Map;
            let ultrmap = new Map;
            let jsonObj = data.data.weather.res.skycon;
            /*for (const k of Object.keys(picdata)) {
                if(jsonObj[k] != undefined ){
                    map.set(k, jsonObj[k].small_icon)
                }
            }*/
             for (const k of Object.keys(jsonObj)) {
                if(jsonObj[k] != undefined ){
                    map.set(k, jsonObj[k].small_icon)
                }
            } 
            //风
            if(data.data.weather.data.daily.wind != undefined){
                data.data.weather.data.daily.wind.forEach(function(v,i){
                    winmap.set(v.date.substr(0,10),'风:'+v.avg.direction_desc+
                        '&nbsp;'+v.avg.speed_desc)
                })	;
            }
            //温度
            if(data.data.weather.data.daily.temperature != undefined){
                data.data.weather.data.daily.temperature.forEach(function(v,i){
                    tempmap.set(v.date.substr(0,10),v.min+'~'+v.max)
                })	;
            }
            //生活 -感冒 life_index .coldRisk dressing
            if(data.data.weather.data.daily.life_index.coldRisk != undefined){
                data.data.weather.data.daily.life_index.coldRisk.forEach(function(v,i){
                    riskmap.set(v.date.substr(0,10),'<img class="coldrisk" src="'+v.icon+
                        '">&nbsp;'+v.indexDesc)
                })	;
            }
            //生活 -穿着 life_index . dressing
            if(data.data.weather.data.daily.life_index.dressing != undefined){
                data.data.weather.data.daily.life_index.dressing.forEach(function(v,i){
                    dressmap.set(v.date.substr(0,10),'<img class="coldrisk" src="'+v.icon+
                        '">&nbsp;'+v.indexDesc)
                })	;
            }
            //生活 -外出 life_index .ultraviolet
            if(data.data.weather.data.daily.life_index.ultraviolet != undefined){
                data.data.weather.data.daily.life_index.ultraviolet.forEach(function(v,i){
                    ultrmap.set(v.date.substr(0,10),'<img class="coldrisk" src="'+v.icon+
                        '">&nbsp;'+v.indexDesc)
                })	;
            }
            data.data.weather.data.daily.skycon.forEach(function(v,i){
                let day = v.date.substr(0,10);
                let daystr = ''
                if(i == 1){
                	daystr = '今&nbsp;天&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
                	}
                	else if(i == 2){
                	daystr = '明&nbsp;天&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
                	}else {
                		daystr = day;
                		}
                let temperature = tempmap.get(day);
                let desc = v.desc;
                if(v.desc.includes('雨') || v.desc.includes('雪')){
                    desc = '<label style="color: firebrick">'+v.desc+'</label>'
                }else if(v.desc.includes('云') || v.desc.includes('阴')){
                    desc = '<label style="color: darkgreen">'+v.desc+'</label>'
                }else{
                	desc = '<label style="color: #ff8124">'+v.desc+'</label>'
                	}
                desc = desc.replace("（白天）","");	
                //console.log(desc,desc.length)
                if(desc.length==41 || desc.length == 39){
                	desc=desc+"&nbsp;&nbsp;&nbsp;&nbsp;"
                	}if(desc.length==42){
                	desc = desc+"&nbsp;"
                	}
                if(i==1){
                    col='#2d00ff';
                    let td="<li class='wl' style='border-bottom: 1px solid yellow;color:"+col+"'>"+
                        daystr+'&nbsp; '+temperature+'&nbsp; '+desc+'&nbsp;'+'<img class="coldrisk"  src="'+map.get(v.code)+'">&nbsp;'+winmap.get(day)+'&nbsp; </li>';
                    $('#today').html(td);
                    livestr+=daystr+'<br/>'+riskmap.get(day)+'<br/>'+dressmap.get(day)+'<br/>'+ultrmap.get(day)+'<br/>'
                } if(i>1){
                    col='##2d00ff;';
                    wstr+="<li class='wl' style='border-bottom: 1px solid yellow;color:"+col+
                        "'>"+daystr+'&nbsp; '+temperature+'&nbsp; '+desc+'&nbsp; <img class="coldrisk"  src="'+(map.get(v.code)==undefined?v.code:map.get(v.code))+'">&nbsp;'+winmap.get(day)+'&nbsp; </li>';
                    if(i < 3){
                    	livestr+=daystr+'<br/>'+riskmap.get(day)+'<br/>'+dressmap.get(day)+'<br/>'+ultrmap.get(day)+'<br/>'
                    	}
                    
                }
                if(i==2){
                		mtitle = '明天:'+v.desc+temperature+riskmap.get(day);
                		msgs[0] = '明天:'+v.desc+temperature+riskmap.get(day);
                	}if(i==3){
                		msgs[1] = '后天:'+v.desc+temperature+riskmap.get(day);
                	}
            });
            msgs[2] = '看!灰机';
            wstr+='</ul></marquee>';
            $('#weather').html(wstr);
            $('#alert').html(livestr)
            var today=new Date();
            $('#reflash').text( today.getHours()+':'+today.getMinutes())
            /***********alert**************/
            if(data.data.weather.data.alert != undefined){
                data.data.weather.data.alert.content.forEach(function(v,i){
                    alertstr+=v.location+':('+v.source+')<br/>'+
                        v.description.replace('：','：<br/>')
                        .replace('。','。<br/>') 
                        +'<br/>'
                        msgs[3+i] = v.description.replace('：','：<br/>')
                        .replace('。','。<br/>') 
                })	;
                $('#waring').html(alertstr)
            }
        }
    });
}

setInterval(function wtint(){
        weather(1);
        },
    60*60*1000);

function jump(){
    $('.rat').beatText({
        isAuth:true,upTime:700,downTime:700,beatHeight:"3em",isRotate:true
    });
    
}
function bdfull(){
    fullScreen(body);
}
function req(path,origin){
    var xhr=new XMLHttpRequest();
    xhr.open("GET",path,false);
    return xhr.responseText;
}
function fullScreen(el){
    $('.private').hide();
    $('footer').css('top','88%');
    var rfs=el.requestFullScreen||el.webkitRequestFullScreen||el.mozRequestFullScreen||el.msRequestFullScreen,wscript;
    if(typeof rfs!="undefined"&&rfs){
        rfs.call(el);
        return;
    }
    if(typeof window.ActiveXObject!="undefined"){
        wscript=new ActiveXObject("WScript.Shell");
        if(wscript){
            wscript.SendKeys("{F11}");
        }
    }
}
function exitFullScreen(el){
    $('.private').show();
    $('footer').css('top','55%');
    var el=document,cfs=el.cancelFullScreen||el.webkitCancelFullScreen||el.mozCancelFullScreen||el.exitFullScreen,wscript;
    if(typeof cfs!="undefined"&&cfs){
        cfs.call(el);
        return;
    }
    if(typeof window.ActiveXObject!="undefined"){
        wscript=new ActiveXObject("WScript.Shell");
        if(wscript!=null){
            wscript.SendKeys("{F11}");
        }
    }
}
function loadJS(url){
    var domScript=document.createElement('script');
    domScript.src=url;
    domScript.type='text/javascript';
    document.getElementsByTagName('head')[0].appendChild(domScript);
}
var dp;
function initdplayer(path){
    if(dp!=null){
        dp=null;
    }
    dp=new DPlayer({
        container:document.getElementById('dplayer'),autoplay:false,theme:'#FADFA3',
        loop:true,lang:'zh',title:'****',screenshot:true,hotkey:true,
        preload:'auto',
        video:{ url:path,pic:'xxx.png'},
    });
}

var picdata = {
    "WIND": {
        "weather_type": "WIND",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/ebe78f1446d745dd9c94c274d6e921f5.webp",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/a5e835f8a68f43f2a2c1859d1872399e.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/b20cbfa14c0a43eeb0ee80f18fddc252.png",
        "start_color": "D8E1F5",
        "end_color": "EBF1FF",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/e43c124266b3435ba7486086496712e9.png",
        "start_color_24h": "537BCD",
        "end_color_24h": "85AAF3"
    },
    "LIGHT_RAIN": {
        "weather_type": "LIGHT_RAIN",
        "big_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230423/efe8087e5ea54383b1416106a772148c.png",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/361408372964412f9d06663f03418750.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/be1382021c1746babdc3c94ceca2b311.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/ca1bbf15644348d5859cdb213ea025ed.png",
        "start_color_24h": "62748C",
        "end_color_24h": "8193AD"
    },
    "CLEAR_DAY": {
        "weather_type": "CLEAR_DAY",
        "big_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230423/1477d4fab86f4aa5b67f016a1e2d7866.webp",
        "small_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230317/195fc82598bd41b8bb94b9c5fca2af57.png",
        "top_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/64360f691afb4d18bf058c904c3b8aa2.png",
        "start_color": "D1ECFF",
        "end_color": "E6F7FF",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/c974c4b74b6f4b9fbd00c19ed7654180.png",
        "start_color_24h": "199DFF",
        "end_color_24h": "80D4FF"
    },
    "SAND": {
        "weather_type": "SAND",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/e43056e5e9364b399c6f196c0caf478a.webp",
        "small_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/486b3cc0e8364a28bc3c9665f9dd6487.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/44489efd49454cc3804ae067c58f484e.png",
        "start_color": "FFE8D7",
        "end_color": "FFF5E6",
        "pic": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/02a7d39ea37842fd99e0cf7816566eed.png",
        "start_color_24h": "C2894B",
        "end_color_24h": "D89A51"
    },
    "MODERATE_HAZE": {
        "weather_type": "MODERATE_HAZE",
        "big_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230423/e7ed46ceb3104bd694d732c911cd41a2.png",
        "small_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/cf198d62e96b4c5f8ebf0d317cbb9ee7.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/6c3747daa9c3459ca227869092b820c5.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/211dca6a0cd54baca4cc08009386a4ad.png",
        "start_color_24h": "8891BC",
        "end_color_24h": "808AB2"
    },
    "SNOW": {
        "weather_type": "SNOW",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/e4c16d92ccb944089b1a2134ad7fbeb5.webp",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/22983a9813a94b80a50fd42b11aa6d94.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/7b4493c3a0864ce081b7f409a9bdaeb2.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/48bef60bb1064eb48248b5d504ed7ca6.png",
        "start_color_24h": "657CAE",
        "end_color_24h": "8EA4D3"
    },
    "HAZE": {
        "weather_type": "HAZE",
        "big_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230423/20a6ebb3f60a452a835b99aa9af97487.webp",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/d4783abd59ca4300abcd748c6a21d77b.png",
        "top_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230317/37dbea5ec5b2456e924f9e91c741af4e.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/55db6c3f9f30440b898bff2556141596.png",
        "start_color_24h": "82879C",
        "end_color_24h": "A8ABBE"
    },
    "HEAVY_HAZE": {
        "weather_type": "HEAVY_HAZE",
        "big_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230423/e7ed46ceb3104bd694d732c911cd41a2.png",
        "small_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/cf198d62e96b4c5f8ebf0d317cbb9ee7.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/6c3747daa9c3459ca227869092b820c5.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/211dca6a0cd54baca4cc08009386a4ad.png",
        "start_color_24h": "8891BC",
        "end_color_24h": "808AB2"
    },
    "HEAVY_SNOW": {
        "weather_type": "HEAVY_SNOW",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/e4c16d92ccb944089b1a2134ad7fbeb5.png",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/22983a9813a94b80a50fd42b11aa6d94.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/7b4493c3a0864ce081b7f409a9bdaeb2.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/48bef60bb1064eb48248b5d504ed7ca6.png",
        "start_color_24h": "657CAE",
        "end_color_24h": "8EA4D3"
    },
    "PARTLY_CLOUDY_DAY": {
        "weather_type": "PARTLY_CLOUDY_DAY",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/8947a39b345242a0aa423285043b78d3.webp",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/8063922121d549898d5b70d7aae64840.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/3114542c3e0d45d2b435db96b4cbb4d4.png",
        "start_color": "D1ECFF",
        "end_color": "E6F7FF",
        "pic": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/933ab1a671a4420fa971c6a48e0931fe.png",
        "start_color_24h": "199DFF",
        "end_color_24h": "80D4FF"
    },
    "CLEAR_NIGHT": {
        "weather_type": "CLEAR_NIGHT",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/d10b9fe9fda640a69cf1b53248e246d4.webp",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/c5c4876728cb4c8b93a871df40c63619.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/a1d0811b92bd4c1f821830fb2f100d52.png",
        "start_color": "D9D9FF",
        "end_color": "EDEDFF",
        "pic": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/f0efedabbc094b7683fce6ebbfedb795.png",
        "start_color_24h": "3F3FAE",
        "end_color_24h": "3F3FAE"
    },
    "PARTLY_CLOUDY_NIGHT": {
        "weather_type": "PARTLY_CLOUDY_NIGHT",
        "big_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230423/57001e8c19c64898a85f26484d9ccf42.webp",
        "small_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/0d2eaf233d8e443dab3bd03ba9a797ae.png",
        "top_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/6706931f28a54ee888c1c77627bcf102.png",
        "start_color": "D9D9FF",
        "end_color": "EDEDFF",
        "pic": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/790c189115664ce481add0c0d5c9ebef.png",
        "start_color_24h": "3F3FAE",
        "end_color_24h": "3F3FAE"
    },
    "CLOUDY": {
        "weather_type": "CLOUDY",
        "big_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230423/1596acef29f446379ae4760b6e5e7167.webp",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/60383d6345a449aa8b371a45c8d5fce5.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/5e72ca69f50140e6ad09ecf7900d416e.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic0.iqiyipic.com/lequ/common/lego/20230317/7a71b6503de24bcc97284ae9cf42c4fe.png",
        "start_color_24h": "64758E",
        "end_color_24h": "8B9CB5"
    },
    "STORM_RAIN": {
        "weather_type": "STORM_RAIN",
        "big_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230423/efe8087e5ea54383b1416106a772148c.png",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/361408372964412f9d06663f03418750.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/be1382021c1746babdc3c94ceca2b311.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/ca1bbf15644348d5859cdb213ea025ed.png",
        "start_color_24h": "62748C",
        "end_color_24h": "8193AD"
    },
    "RAIN": {
        "weather_type": "RAIN",
        "big_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230423/efe8087e5ea54383b1416106a772148c.webp",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/361408372964412f9d06663f03418750.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/be1382021c1746babdc3c94ceca2b311.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/ca1bbf15644348d5859cdb213ea025ed.png",
        "start_color_24h": "62748C",
        "end_color_24h": "8193AD"
    },
    "DUST": {
        "weather_type": "DUST",
        "big_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230423/26856d36b66943af8811e8dcda49459c.webp",
        "small_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230317/704546a51ff244269a37d0fffaaadde3.png",
        "top_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230317/12e384a4e3874f078875fa1a0cb28d54.png",
        "start_color": "EDE3D8",
        "end_color": "F7F2EC",
        "pic": "http://pic0.iqiyipic.com/lequ/common/lego/20230317/f1fa8cb7dd2d4a32a7500978d266dc22.png",
        "start_color_24h": "C2894B",
        "end_color_24h": "D89A51"
    },
    "HEAVY_RAIN": {
        "weather_type": "HEAVY_RAIN",
        "big_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230423/efe8087e5ea54383b1416106a772148c.png",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/361408372964412f9d06663f03418750.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/be1382021c1746babdc3c94ceca2b311.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/ca1bbf15644348d5859cdb213ea025ed.png",
        "start_color_24h": "62748C",
        "end_color_24h": "8193AD"
    },
    "LIGHT_SNOW": {
        "weather_type": "LIGHT_SNOW",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/e4c16d92ccb944089b1a2134ad7fbeb5.png",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/22983a9813a94b80a50fd42b11aa6d94.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/7b4493c3a0864ce081b7f409a9bdaeb2.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/48bef60bb1064eb48248b5d504ed7ca6.png",
        "start_color_24h": "657CAE",
        "end_color_24h": "8EA4D3"
    },
    "LIGHT_HAZE": {
        "weather_type": "LIGHT_HAZE",
        "big_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230423/e7ed46ceb3104bd694d732c911cd41a2.png",
        "small_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/cf198d62e96b4c5f8ebf0d317cbb9ee7.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/6c3747daa9c3459ca227869092b820c5.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/211dca6a0cd54baca4cc08009386a4ad.png",
        "start_color_24h": "8891BC",
        "end_color_24h": "808AB2"
    },
    "MODERATE_SNOW": {
        "weather_type": "MODERATE_SNOW",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/e4c16d92ccb944089b1a2134ad7fbeb5.png",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/22983a9813a94b80a50fd42b11aa6d94.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/7b4493c3a0864ce081b7f409a9bdaeb2.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/48bef60bb1064eb48248b5d504ed7ca6.png",
        "start_color_24h": "657CAE",
        "end_color_24h": "8EA4D3"
    },
    "MODERATE_RAIN": {
        "weather_type": "MODERATE_RAIN",
        "big_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230423/efe8087e5ea54383b1416106a772148c.png",
        "small_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/361408372964412f9d06663f03418750.png",
        "top_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/be1382021c1746babdc3c94ceca2b311.png",
        "start_color": "DFE4EB",
        "end_color": "F1F3F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/ca1bbf15644348d5859cdb213ea025ed.png",
        "start_color_24h": "62748C",
        "end_color_24h": "8193AD"
    },
    "FOG": {
        "weather_type": "FOG",
        "big_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230423/e7ed46ceb3104bd694d732c911cd41a2.webp",
        "small_icon": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/cf198d62e96b4c5f8ebf0d317cbb9ee7.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/6c3747daa9c3459ca227869092b820c5.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic2.iqiyipic.com/lequ/common/lego/20230317/211dca6a0cd54baca4cc08009386a4ad.png",
        "start_color_24h": "8891BC",
        "end_color_24h": "808AB2"
    },
    "STORM_SNOW": {
        "weather_type": "STORM_SNOW",
        "big_icon": "http://pic0.iqiyipic.com/lequ/common/lego/20230423/e4c16d92ccb944089b1a2134ad7fbeb5.png",
        "small_icon": "http://pic3.iqiyipic.com/lequ/common/lego/20230317/22983a9813a94b80a50fd42b11aa6d94.png",
        "top_icon": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/7b4493c3a0864ce081b7f409a9bdaeb2.png",
        "start_color": "E2E6F0",
        "end_color": "EFF2F7",
        "pic": "http://pic1.iqiyipic.com/lequ/common/lego/20230317/48bef60bb1064eb48248b5d504ed7ca6.png",
        "start_color_24h": "657CAE",
        "end_color_24h": "8EA4D3"
    }
} 
